<%-- 
    Document   : SanPhamListContent
    Created on : Oct 18, 2011, 11:50:12 AM
    Author     : Messi
--%>

<%@page import="POJO.SanPhamPOJO"%>
<%@page import="java.util.ArrayList"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!--START BODY --> 


<section class="col-content">

    <article class="cdp-tab clearfix">
 


        <p class="title-cdp-tab"><a href="#">TI VI</a></p>
        <p style="" class="btn-viewmore-cdp" id="dien_thoai_more"><a href="#">Xem thêm</a></p>			 					
        <div style="display: none;">
            <span id="view_more_34"><a href="#">Xem thêm</a></span>
        </div>

        <ul class="lstitle-cdp-tab clearfix" id="ul1">
            <li class="active"><a  href="#">Ti Vi Chính hãng </a></li> 
        </ul> 
        <div class="cdp-tab-inside">

            <ul class="clearfix" id="dien_thoai" style="">
            <%
                ArrayList <SanPhamPOJO> ds = (ArrayList<SanPhamPOJO>)request.getAttribute("DanhSach");
                for (int i=0;i<ds.size();i++)
                {
                    SanPhamPOJO sp = ds.get(i); 
            %>           
                <li class="cdp-product ">
                    <figure class="pic">
                        <a href="#">
                            <img alt="Sản phẩm" src="<%=sp.getHinhAnh()%>">
                        </a>
                    </figure>
                    <h2 class="name-product"><a href="#"><%=sp.getTenSanPham()%></a></h2>
                    <p class="price"><%=sp.getGiaBan()%></p>
                </li>
                <%}%>
            </ul>
    </article>
    <article class="cdp-tab clearfix">
        <p class="title-cdp-tab"><a href="#">Máy lạnh</a></p>
        <p style="" class="btn-viewmore-cdp" id="dien_thoai_more"><a href="#">Xem thêm</a></p>			 					
        <div style="display: none;">
            <span id="view_more_34"><a href="#">Xem thêm</a></span>
        </div>

        <ul class="lstitle-cdp-tab clearfix" id="ul1">
            <li class="active"><a  href="#">Chính hãng / xách tay</a></li> 
        </ul> 
        <div class="cdp-tab-inside">
            <ul class="clearfix" id="dien_thoai" style="">
                <%
                 ArrayList <SanPhamPOJO> ds1 = (ArrayList<SanPhamPOJO>)request.getAttribute("DanhSach");
                 for (int i=0;i<ds.size();i++)
                 {
                     SanPhamPOJO sp1 = ds1.get(i);
                %>
                <li class="cdp-product ">
                    <figure class="pic"><a href="#">
                            <img alt="Sản phẩm" src="<%=sp1.getHinhAnh()%>"></a>
                    </figure>
                    <h2 class="name-product"><a href="#"><%=sp1.getTenSanPham()%></a></h2>
                    <p class="price"><%=sp1.getGiaBan()%>VND</p>
                </li>
                <%}%>
 
            </ul>


    </article>




</section>

<!--END BODY --> 
 
